﻿<view:WindowBase x:Class="MVVMFramework.StarterKit.ShellView"
                 x:ClassModifier="internal"
                 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                 xmlns:view="clr-namespace:MVVMFramework.View;assembly=MVVMFramework.View"
                 mc:Ignorable="d" 
                 xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                 xmlns:local="clr-namespace:MVVMFramework.StarterKit"
                 WindowStartupLocation="CenterScreen"
                 d:DataContext="{d:DesignInstance local:ShellVM}"
                 Title="{Binding Title}" Height="350" Width="700">
    <Grid Margin="5">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>

        <TextBlock Grid.ColumnSpan="3" FontWeight="Bold" FontSize="15" HorizontalAlignment="Center" Margin="10">
            <Run Text="This is a sample application that demonstrates how to use the MVVM Framework." />
            <LineBreak/>
            <Run Text="Just copy the project and rename it!" />
        </TextBlock>

        <TextBlock Text="Open directory Log files" Grid.Row="1"/>
        <Button Command="{Binding OpenLogsCommand}" Content="Open" HorizontalAlignment="Left" Grid.Row="1" Grid.Column="1"/>
    </Grid>
</view:WindowBase>
